package com.pattern.factory.factorymethod;

/**
 * <p>
 *
 * 简单工厂类 该类内部生成汽车类、飞机类等
 * </p>
 *
 * @author qingshan
 * @since 2020-07-19 17:56
 */
public class SimpleVehicleFactory {


    public Car createCar(){
        // before processing
        return new Car();
    }

    public Plane createPlane(){
        // before processing
        return new Plane();
    }
}
